package GUI;

import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;

import javax.swing.JButton;
import javax.swing.JPanel;
import javax.swing.JLabel;
import java.awt.Font;
import javax.swing.ImageIcon;

public class V_StartGUI extends JPanel {

	private JButton button;

	/**
	 * Create the panel.
	 */

	public V_StartGUI() {

		setLayout(null);

		button = new JButton("Close");
		button.setBounds(394, 416, 146, 23);
		button.addActionListener(new ActionListener() {
			public void actionPerformed(ActionEvent e) {
				System.exit(1);
			}
		});
		this.add(button);

		JLabel lblVeranstaltungsplaner = new JLabel("Veranstaltungsplaner");
		lblVeranstaltungsplaner.setFont(new Font("Tahoma", Font.PLAIN, 20));
		lblVeranstaltungsplaner.setBounds(170, 11, 210, 47);
		add(lblVeranstaltungsplaner);

		JLabel label = new JLabel("");
		label.setIcon(new ImageIcon("H:\\Informatik Projekt\\Dieser Ordner ist unwichtig\\Veranstaltung.jpg"));
		label.setBounds(44, 55, 450, 290);
		add(label);


	}
}
